package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Collect;

public interface ICollectService {

    /**
     * 查询
     * @param collect
     * @return
     */
    Collect selectOne(Collect collect);

    /**
     * 保存
     * @param collect
     */
    void saveOne(Collect collect);

    /**
     * 删除
     * @param collect
     */
    void deleteOne(Collect collect);

    /**
     * 计数
     * @param collect
     * @return
     */
    int selectForCount(Collect collect);
}
